package com.tao.springbootstart.properties;


import com.tao.springbootstart.service.RobotService;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Import;
import org.springframework.stereotype.Component;

@Data
@ConfigurationProperties("robot")
@Import(RobotService.class)
public class RobotProperties {

    String name;
    String age;
}
